package homework0306;

import java.io.File;

public class Text06 {
    public static void main(String[] args) {
        File dir=new File(".");
        if (dir.isDirectory()){
            File[] subs=dir.listFiles(file-> file.getName().contains("s"));
            for (File sub:subs){
                System.out.println(sub);




            }
        }


    }
}
